package com.example.springboot01.service.impl;

import com.example.springboot01.service.ClassService;
import com.example.springboot01.service.FileParser;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service("csv")
public class CsvFileParser implements FileParser {

    @Resource
    private ClassService classService;

    @Override
    public void parse() {
        classService.list();
        System.out.println("csv file parse");
    }
}
